module new_start_point (
	input sys_clk, 
	input sys_rst,
	input [3:0] key,
	output  [3:0] led,
	output [5:0] digital_tube_segs,			//数码管段选择
	output [7:0] digital_tube_bits			//数码管显示位
);
	wire [3:0] key_id;

	
	key_board  key_board1(.sys_clk(sys_clk), .sys_rst(sys_rst), .key(key), .output_key_id(key_id));
	led_matrix led_matrix1(.sys_clk(sys_clk), .sys_rst(sys_rst), .key_id(key_id), .led(led));
	digital_tube_matrix(.sys_clk(sys_clk), .sys_rst(sys_rst), .key_id(key_id), .leg_seg(digital_tube_segs), .led_bit(digital_tube_bits));
	
endmodule